package com;

public class ResetByteMain {
    public static void main(String[] args) {
        int one = 10;
        int two = 300;

        int value = (one << 16) + two;
        System.out.println("before:" + value);


        int resultOne = (value >> 16) & 0xffff;
        int resultTwo = value & 0xffff;
        System.out.println("after resultOne:" + resultOne);
        System.out.println("after resultTwo:" + resultTwo);

    }
}
